﻿get_filename_component(DAQ_IPC_PATH "${CMAKE_CURRENT_LIST_FILE}" PATH)
set(DAQ_IPC_INCLUDE_DIRS "")
list(APPEND DAQ_IPC_INCLUDE_DIRS "${DAQ_IPC_PATH}/include")
list(APPEND DAQ_IPC_INCLUDE_DIRS "${DAQ_IPC_PATH}/include/third_party/readerwriterqueue")
list(APPEND DAQ_IPC_INCLUDE_DIRS "${DAQ_IPC_PATH}/include/third_party")

set(DAQ_IPC_LIBRARIES_DIR "")
list(APPEND DAQ_IPC_LIBRARIES_DIR "${DAQ_IPC_PATH}/lib")
if(WIN32)
  set(DAQ_IPC_VERSION "3.7.1")
  set(DAQ_IPC_DEPENDENT_LIBRARIES ${DAQ_IPC_LIBRARIES_DIR}/windows/libdaq-${DAQ_IPC_VERSION}.lib)
else(UNIX)
  set(DAQ_IPC_VERSION "3.5.3")
  set(DAQ_IPC_DEPENDENT_LIBRARIES ${DAQ_IPC_LIBRARIES_DIR}/linux/liblibdaq-${DAQ_IPC_VERSION}.so)
endif()

